﻿namespace NetMicro.Cache.RedisProvider
{
    /// <summary>
    /// 键值对
    /// </summary>
    public class KeyValue
    {
        public readonly string key;
        public readonly string value;
        public KeyValue(string key, string value) { this.key = key; this.value = value; }
    }
    /// <summary>
    /// 键值对
    /// </summary>
    public class KeyValue<T>
    {
        public readonly string key;
        public readonly T value;
        public KeyValue(string key, T value) { this.key = key; this.value = value; }
    }
}
